package jblip;

/**
 * Enumeration over known API versions of Blip system.
 * 
 * @author Krzysztof Sroka
 * @since 0.2
 */
public enum BlipApi {
  /** API 0.01 */
  API001("0.01"),
  /** API 0.02 */
  API002("0.02");
  
  private final String api_string;
  
  /**
   * Returns textual representation of the API version.
   * 
   * @return textual representation of the API version.
   */
  public String toString() {
    return api_string;
  }
  
  private BlipApi(String str) {
    this.api_string = str;
  }
}
